<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head th:replace="comm/common :: header(~{::title},~{},~{})">
    <title>添加角色</title>
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight" style="padding:0px;">
    <div class="row">
        <div style="width: 100%">
            <div class="ibox">
                <div class="ibox-content">
                    <form id="roleForm" class="wizard-big">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">角色名称：</label>
                            <div class="col-sm-8">
                                <input id="roleName" name="roleName" minlength="2" type="text" class="form-control"
                                       required="" aria-required="true">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">角色描述：</label>
                            <div class="col-sm-8">
                                <input id="roleTips" type="text" class="form-control" name="roleTips" required=""
                                       aria-required="true">
                            </div>
                        </div>
                        <div class="form-group" style="text-align: center">
                            <div class="col-sm-4 col-sm-offset-3">
                                <button id="addRoleSubmit" class="btn btn-block btn-primary">保存</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:replace="comm/common :: bottom"></div>
<script th:src="@{/admin/role/add_role.js}"></script>
</body>

</html>
